package kin.interceptor.system;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import kin.context.system.RequestContext;



import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;


public class RequestInterceptor extends HandlerInterceptorAdapter{

	@Override
	public boolean preHandle(HttpServletRequest request,
			HttpServletResponse response, Object handler) throws Exception {
		RequestContext.setRequest(request);
		//org.springframework.web.servlet.support.RequestContextUtils.
		return super.preHandle(request, response, handler);
	}

}
